Confidence intervals vs. Credible intervals

Quote

In the frequentist approach, the parameter θ is treated as an unknown fixed constant, and the data is treated as random. In the Bayesian approach, we treat the data as fixed (since it is known) and the parameter as random (since it is unknown). Probalistic Machine Learning